using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using HermesPortal.Core;  
public partial class Register : PageBase
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }


    protected void On_FinishCreateWizard(object sender, WizardNavigationEventArgs e)
    {
        EditProfile1.SaveProfile();
    }


    protected void CreateUserWizard1_CreatedUser(object sender, EventArgs e)
    {
        // add the current user to the Posters role
        Roles.AddUserToRole(CreateUserWizard1.UserName, "player");
        UserServices.AddCreator(CreateUserWizard1.UserName,  Membership.ApplicationName   );
    }
   
}
